PROP_TCTX = "GenesisCorePropTCTX"
PANEL_TCTX = "GenesisCorePanelTCTX"
OPS_TCTX = "GenesisCoreOpsTCTX"

translations = (
    ("Command", "命令", PROP_TCTX),
    ("Model", "模型", PROP_TCTX),
    ("LLM Provider", "大模型服务", PROP_TCTX),
    ("Host", "主机", PROP_TCTX),
    ("Port", "端口", PROP_TCTX),
    ("OpenAI Compatible", "OpenAI兼容", PROP_TCTX),
    ("Siliconflow", "硅基流动", PROP_TCTX),
    ("ToolPackage", "工具模块", PROP_TCTX),
    ("CommonTools", "通用工具模块", PROP_TCTX),
    ("Common tools for Blender.", "Blender的通用工具"),
    ("AssetTools", "资产工具模块", PROP_TCTX),
    ("Custom Asset Tools.", "自定义资产的相关工具"),
    ("ObjectTools", "物体工具模块", PROP_TCTX),
    ("Object tools for the Blender scene.", "Blender场景中的物体工具"),
    ("PolyhavenTools", "Polyhaven资产模块", PROP_TCTX),
    ("Polyhaven tools. Use the api to download assets.(For commercial use see https://polyhaven.com/our-api)", "Polyhaven工具。使用API下载资产。（商业用途请见https://polyhaven.com/our-api）"),
    ("MaterialTools", "材质工具模块", PROP_TCTX),
    ("Material tools for Blender.", "Blender的材质工具"),
    ("ModifierTools", "修改器工具模块", PROP_TCTX),
    ("Modifier tools for blender.", "Blender的修改器工具"),
    ("Use History Message", "启用历史消息(否则, 每次执行命令都会清空历史消息). 注意: 启用后Token消耗会显著增加", PROP_TCTX),
    ("API Settings", "API设置", PANEL_TCTX),
    ("Genesis Core", "创世核心Alpha", PANEL_TCTX),
    ("Genesis Core", "创世核心"),
    ("Processing...", "处理中..."),
    ("Run", "执行", OPS_TCTX),
    ("Run the command", "执行命令"),
    ("Skip Current Command", "跳过当前命令", OPS_TCTX),
    ("Skip the current command", "跳过当前轮次的命令循环, 如果AI正在循环执行, 则会停止循环"),
    ("Mark Clean Message", "清理历史消息", OPS_TCTX),
    ("Mark the current message as clean", "将当前消息标记为清理, 将在下轮任务前自动清理"),
    ("Save Config", "保存配置", OPS_TCTX),
    ("Refresh Models", "刷新模型列表", OPS_TCTX),
    ("Open Log Window", "打开日志窗口", OPS_TCTX),
    ("Open a big text editor window to show the log", "打开文本编辑器窗口来显示日志"),
)
